package com.example.layui.demo.service;


import com.example.layui.demo.entity.Article;
import com.example.layui.demo.entity.ArticleVO;
import com.example.layui.demo.entity.Result;
import com.example.layui.demo.mapper.CounteMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

public interface MyService {

    public Result getCount();

    List<Article> getArticleList(ArticleVO articleVO);

    List<Article> getArticleList1(Article Article);

    Integer getArticleCount(ArticleVO articleVo);

    Article getArticleByid(Integer id);

    int delArticlebyId(Integer id);

    int updateArticle1(Article Article);

    int deleteByIds(int[] ids);

    Integer getArticleCountWhere(Article Article);

    int DeleteArticleByids(Integer[] id);

    List<Article> searchByWhere(Article article);


}
